/**
 * 工资报送
 */
import Layout from '@/layout'

const salaryReport = {
  path: '/salaryReport',
  component: Layout,
  redirect: '/salaryReport/unitSubmit',
  name: 'salaryReport',
  meta: {
    title: '工资报送',
    icon: 'el-icon-s-flag',
    roles: ['admin', 'editor'] // you can set roles in root nav
  },
  children: [
    {
      path: 'unitSubmit',
      component: () => import('@/views/salaryReport/unitSubmit'),
      name: 'unitSubmit',
      meta: {
        title: '单位上报',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'], // or you can only set roles in sub nav
        menuid: '1',
        menuname: '单位上报'
      }
    },
    {
      path: 'financialVerify',
      component: () => import('@/views/salaryReport/financialVerify'),
      name: 'financialVerify',
      meta: {
        title: '财政确认（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor'], // or you can only set roles in sub nav
        menuid: '2',
        menuname: '财政确认'
      }
    },
    {
      path: 'unitSubmitSituationQuery',
      component: () => import('@/views/salaryReport/unitSubmitSituationQuery'),
      name: 'unitSubmitSituationQuery',
      meta: {
        title: '单位上报情况查询（开发中）',
        icon: 'el-icon-s-flag',
        roles: ['admin', 'editor']
      }
    }
  ]
}

export default salaryReport
